package com.spy.material.service;

import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import com.spy.material.domain.OutboundOrderDetail;
import com.spy.material.vo.OutboundOrderDetailVO;

/**
 * 出库明细Service接口
 *
 * @author twc
 * @date 2025-11-09
 */
public interface IOutboundOrderDetailService extends IService<OutboundOrderDetail>
{
    /**
     * 查询出库明细
     *
     * @param id 出库明细主键
     * @return 出库明细
     */
    public OutboundOrderDetail selectOutboundOrderDetailById(Long id);

    /**
     * 查询出库明细列表
     *
     * @param outboundOrderDetail 出库明细
     * @return 出库明细集合
     */
    public List<OutboundOrderDetail> selectOutboundOrderDetailList(OutboundOrderDetail outboundOrderDetail);

    /**
     * 新增出库明细
     *
     * @param outboundOrderDetail 出库明细
     * @return 结果
     */
    public int insertOutboundOrderDetail(OutboundOrderDetail outboundOrderDetail);

    /**
     * 修改出库明细
     *
     * @param outboundOrderDetail 出库明细
     * @return 结果
     */
    public int updateOutboundOrderDetail(OutboundOrderDetail outboundOrderDetail);

    /**
     * 批量删除出库明细
     *
     * @param ids 需要删除的出库明细主键集合
     * @return 结果
     */
    public int deleteOutboundOrderDetailByIds(Long[] ids);

    /**
     * 删除出库明细信息
     *
     * @param id 出库明细主键
     * @return 结果
     */
    public int deleteOutboundOrderDetailById(Long id);

    List<OutboundOrderDetailVO> detail(Long outboundOrderId);
}